package com.yishe.entites.mysql;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "wx_user")
public class WxUser implements Serializable {
    @Transient
    private static final long serialVersionUID = -7310134810615903412L;
    @Id
    @Column(name = "id")
    private Integer id;

    private String openid;
    @Column(name = "wx_account")
    private String wxAccount;
    private String nickname;

    private String sex;
    @Column(name = "sex_desc")
    private String sexDesc;

    private String country;

    private String province;

    private String city;

    private String password;
    private String email;
    @Column(name = "tele_phone")
    private String telePhone;
    @Column(name = "head_img_url")
    private String headImgUrl;
    private String address;
    private String remark;
    @Column(name = "member_level")
    private String memberLevel;

    private Integer status;

    private String createId;

    private Date createTime;

    private String lastUpdateId;

    private Date lastUpdateTime;


}